package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ZhwyChargeTjMapper;
import com.ruoyi.system.domain.ZhwyChargeTj;
import com.ruoyi.system.service.IZhwyChargeTjService;

/**
 * 收费统计11Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-10
 */


//
@Service
public class ZhwyChargeTjServiceImpl implements IZhwyChargeTjService 
{
    @Autowired
    private ZhwyChargeTjMapper zhwyChargeTjMapper;

    /**
     * 查询收费统计11
     * 
     * @param id 收费统计11主键
     * @return 收费统计11
     */
    @Override
    public ZhwyChargeTj selectZhwyChargeTjById(Long id)
    {
        return zhwyChargeTjMapper.selectZhwyChargeTjById(id);
    }

    /**
     * 查询收费统计11列表
     * 
     * @param zhwyChargeTj 收费统计11
     * @return 收费统计11
     */
    @Override
    public List<ZhwyChargeTj> selectZhwyChargeTjList(ZhwyChargeTj zhwyChargeTj)
    {
        return zhwyChargeTjMapper.selectZhwyChargeTjList(zhwyChargeTj);
    }

    /**
     * 新增收费统计11
     * 
     * @param zhwyChargeTj 收费统计11
     * @return 结果
     */
    @Override
    public int insertZhwyChargeTj(ZhwyChargeTj zhwyChargeTj)
    {
        return zhwyChargeTjMapper.insertZhwyChargeTj(zhwyChargeTj);
    }

    /**
     * 修改收费统计11
     * 
     * @param zhwyChargeTj 收费统计11
     * @return 结果
     */
    @Override
    public int updateZhwyChargeTj(ZhwyChargeTj zhwyChargeTj)
    {
        return zhwyChargeTjMapper.updateZhwyChargeTj(zhwyChargeTj);
    }

    /**
     * 批量删除收费统计11
     * 
     * @param ids 需要删除的收费统计11主键
     * @return 结果
     */
    @Override
    public int deleteZhwyChargeTjByIds(Long[] ids)
    {
        return zhwyChargeTjMapper.deleteZhwyChargeTjByIds(ids);
    }

    /**
     * 删除收费统计11信息
     * 
     * @param id 收费统计11主键
     * @return 结果
     */
    @Override
    public int deleteZhwyChargeTjById(Long id)
    {
        return zhwyChargeTjMapper.deleteZhwyChargeTjById(id);
    }
}
